package org.example.map.client;

import com.example.commons.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "base-service", configuration = FeignInterceptor.class)
public interface BaseClient {
    @GetMapping("/api/user/{id}")
    Result getUserById(@PathVariable("id") Long id);
}
